<?php
$con = mysql_connect('localhost', 'root', '') OR die("Error: ".mysql_error());
    mysql_select_db('greed_island', $con) OR die("Error: ".mysql_error());
     
    function protect($string){
    $string = mysql_real_escape_string($string);
    $string = strip_tags($string);
    $string = addslashes($string);
    return $string;
    }
?>